tandoor-recipes: Fix URL import
This commit is contained in:
parent
cb417ea2d2
commit
c2685f11a1
1 changed files with 14 additions and 1 deletions
|
@ -5,7 +5,20 @@
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
python = python3;
|
python = python3.override {
|
||||||
|
packageOverrides = self: super: {
|
||||||
|
validators = super.validators.overridePythonAttrs (_: rec {
|
||||||
|
version = "0.20.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "python-validators";
|
||||||
|
repo = "validators";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-ZnLyTHlsrXthGnaPzlV2ga/UTm5SSEHLTwC/tobiPak=";
|
||||||
|
};
|
||||||
|
propagatedBuildInputs = [ super.decorator super.six ];
|
||||||
|
});
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
common = callPackage ./common.nix { };
|
common = callPackage ./common.nix { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue