mach-nix/debug/pypi-deps-db.nix

15 lines
425 B
Nix
Raw Normal View History

2020-04-22 09:28:58 +00:00
let
pkgs = import (import ../mach_nix/nix/nixpkgs-src.nix) {};
2020-04-22 09:28:58 +00:00
commit = builtins.readFile ../mach_nix/nix/PYPI_DEPS_DB_COMMIT;
sha256 = builtins.readFile ../mach_nix/nix/PYPI_DEPS_DB_SHA256;
2020-04-22 09:28:58 +00:00
src = builtins.fetchTarball {
name = "pypi-deps-db-src";
url = "https://github.com/DavHau/pypi-deps-db/tarball/${commit}";
inherit sha256;
};
in
pkgs.buildEnv {
name = "pypi-deps-db-src";
paths = [ src ];
}