Skip to content

Commit

Permalink
Merge pull request #131300 from nathanruiz/environmental-override
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Jul 29, 2021
2 parents 086775b + e1e5173 commit 890220b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7477,6 +7477,12 @@
email = "natedevv@gmail.com";
name = "Nathan Moore";
};
nathanruiz = {
email = "nathanruiz@protonmail.com";
github = "nathanruiz";
githubId = 18604892;
name = "Nathan Ruiz";
};
nathan-gs = {
email = "nathan@nathan.gs";
github = "nathan-gs";
Expand Down
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/environmental-override/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
pname = "environmental-override";
version = "0.1.2";

src = fetchPypi {
inherit pname version;
sha256 = "1vhd37i6f8xh6kd61yxc2ynzgcln7v2p7fyzjmhbkdnws6gwfs6s";
};

# No tests have been written for this library.
doCheck = false;

pythonImportsCheck = [ "environmental_override" ];

meta = {
description = "Easily configure apps using simple environmental overrides";
homepage = "https://github.com/coddingtonbear/environmental-override";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nathanruiz ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2326,6 +2326,8 @@ in {

env-canada = callPackage ../development/python-modules/env-canada { };

environmental-override = callPackage ../development/python-modules/environmental-override {};

envisage = callPackage ../development/python-modules/envisage { };

envs = callPackage ../development/python-modules/envs { };
Expand Down

0 comments on commit 890220b

Please sign in to comment.