base16-shell-preview: refactor
this shouldn't create any rebuilds
This commit is contained in:
@@ -4,17 +4,14 @@
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
let
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "base16-shell-preview";
|
||||
version = "1.1.0";
|
||||
in
|
||||
python3Packages.buildPythonApplication {
|
||||
inherit pname version;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "${lib.replaceStrings [ "-" ] [ "_" ] pname}";
|
||||
inherit (finalAttrs) version;
|
||||
pname = "${lib.replaceStrings [ "-" ] [ "_" ] finalAttrs.pname}";
|
||||
hash = "sha256-UWS1weiccSGqBU8grPAUKkuXb7qs5wliHVaPgdW4KtI=";
|
||||
};
|
||||
|
||||
@@ -33,4 +30,4 @@ python3Packages.buildPythonApplication {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user