Merge pull request #285749 from fabaff/commix-bump

commix: 3.8 -> 3.9
This commit is contained in:
Fabian Affolter 2024-02-02 11:22:59 +01:00 committed by GitHub
commit 60d0cd4c93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,16 +5,26 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "commix"; pname = "commix";
version = "3.8"; version = "3.9";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "commixproject"; owner = "commixproject";
repo = pname; repo = "commix";
rev = "refs/tags/v${version}"; 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 = '' postInstall = ''
# Helper files are not handled by setup.py # Helper files are not handled by setup.py
mkdir -p $out/${python3.sitePackages}/src/txt mkdir -p $out/${python3.sitePackages}/src/txt