Merge pull request #273354 from jvanbruegge/tandoor-import

tandoor-recipes: Fix URL import
This commit is contained in:
Nick Cao 2023-12-11 10:12:23 -05:00 committed by GitHub
commit 197e9c29e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 { };