From c73048605ca1d199e82fd6761333bfbf679d0f4f Mon Sep 17 00:00:00 2001 From: Alexander Sosedkin Date: Sat, 22 Sep 2018 21:20:08 +0700 Subject: [PATCH] pythonPackages.nixpkgs: init at 0.2.2 Allows to `from nixpkgs import` stuff in interactive Python sessions --- maintainers/maintainer-list.nix | 5 +++++ pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 216d6dac74ea..6593414d1b23 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3978,6 +3978,11 @@ github = "sztupi"; name = "Attila Sztupak"; }; + t184256 = { + email = "monk@unboiled.info"; + github = "t184256"; + name = "Alexander Sosedkin"; + }; tadfisher = { email = "tadfisher@gmail.com"; github = "tadfisher"; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 20ba493da153..1234955638fd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8247,6 +8247,24 @@ in { inherit (pkgs) which; }; + nixpkgs = buildPythonPackage rec { + disabled = ! pythonAtLeast "3.5"; + pname = "nixpkgs"; + version = "0.2.2"; + src = fetchPypi { + inherit pname version; + sha256 = "0gsrd99kkv99jsrh3hckz7ns1zwndi9vvh4465v4gnpz723dd6fj"; + }; + buildInputs = with self; [ pbr ]; + propagatedBuildInputs = with self; [ pythonix ]; + meta = { + description = "Allows to `from nixpkgs import` stuff in interactive Python sessions"; + homepage = http://github.com/t184256/nixpkgs-python-importer; + license = licenses.mit; + maintainers = with maintainers; [ t184256 ]; + }; + }; + nodeenv = callPackage ../development/python-modules/nodeenv { }; nose = buildPythonPackage rec {