mach-nix/tests/test_underscore_override.nix
2021-06-09 13:11:17 +07:00

15 lines
388 B
Nix

{
baseArgsMkPython ? {},
baseArgsBuildPythonPackage ? {},
mach-nix ? import ../. {},
...
}:
with builtins;
mach-nix.mkPython (baseArgsMkPython // {
requirements = "ldap0";
_.ldap0.buildInputs = with mach-nix.nixpkgs; [ openldap.dev cyrus_sasl.dev ];
_.ldap0.src = builtins.fetchGit {
url = "https://gitlab.com/ae-dir/python-ldap0";
ref = "refs/tags/v1.1.0";
};
})