mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
22 lines
358 B
Nix
22 lines
358 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
remctl-c, # remctl from pkgs, not from pythonPackages
|
|
typing,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
inherit (remctl-c)
|
|
meta
|
|
pname
|
|
src
|
|
version
|
|
;
|
|
setSourceRoot = "sourceRoot=$(echo */python)";
|
|
|
|
buildInputs = [ remctl-c ];
|
|
|
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.5") [ typing ];
|
|
}
|