3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/nixpkgs/default.nix
2019-07-24 00:21:42 +02:00

30 lines
641 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pbr
, pythonix
, pythonAtLeast
}:
buildPythonPackage rec {
pname = "nixpkgs";
version = "0.2.4";
disabled = ! pythonAtLeast "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0dlvq4bpamhlva86042wlc0xxfsxlpdgm2adfb1c6y3vjgbm0nvd";
};
buildInputs = [ pbr ];
propagatedBuildInputs = [ pythonix ];
meta = with stdenv.lib; {
description = "Allows to `from nixpkgs import` stuff in interactive Python sessions";
homepage = https://github.com/t184256/nixpkgs-python-importer;
license = licenses.mit;
maintainers = with maintainers; [ t184256 ];
};
}