tandoor-recipes: Fix URL import

This commit is contained in:
Jan van Brügge 2023-12-10 13:54:06 +00:00
parent cb417ea2d2
commit c2685f11a1
No known key found for this signature in database
GPG Key ID: 88E0BF7B7A546481

@ -5,7 +5,20 @@
, fetchpatch
}:
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 { };