commit
60d0cd4c93
1 changed files with 14 additions and 4 deletions
|
@ -5,16 +5,26 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "commix";
|
||||
version = "3.8";
|
||||
format = "setuptools";
|
||||
version = "3.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "commixproject";
|
||||
repo = pname;
|
||||
repo = "commix";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-S/2KzZb3YUF0VJharWV/+7IG+r1EnB2sOveMpd1ryEI=";
|
||||
hash = "sha256-HX+gEL9nmq9R1GFw8xQaa7kBmW7R0IepitM08bIf3vY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-warn "-stable" ""
|
||||
'';
|
||||
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# Helper files are not handled by setup.py
|
||||
mkdir -p $out/${python3.sitePackages}/src/txt
|
||||
|
|
Loading…
Reference in a new issue