Skip to content

Commit

Permalink
python312Packages.xlwt: 1.3.0 -> 1.3.0-unstable-2018-09-16
Browse files Browse the repository at this point in the history
Updates to the latest commit of the now-archived repo, should have no
breaking changes, per the suggestion in
#330217 (review)
  • Loading branch information
pyrox0 committed Jul 26, 2024
1 parent c1009a5 commit 9c62847
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions pkgs/development/python-modules/xlwt/default.nix
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools,
pythonOlder,
pytestCheckHook,
six,
}:

buildPythonPackage rec {
buildPythonPackage {
pname = "xlwt";
version = "1.3.0";
version = "1.3.0-unstable-2018-09-16";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-xZkScXqbKPGjwqmP1gdBAUsGsEOTbc7LwRPqqtoVbIg=";
src = fetchFromGitHub {
owner = "python-excel";
repo = "xlwt";
# Use last commit before archival
rev = "5a222d0315b6d3ce52a3cedd7c3e41309587c107";
hash = "sha256-YKbqdimX1q+d7A9BSwuKl3SndQ+0eocz+m6xMAZeMQQ=";
};

build-system = [ setuptools ];

dependencies = [ six ];

nativeCheckInputs = [ pytestCheckHook ];

pythonImportsCheck = [ "xlwt" ];

meta = with lib; {
meta = {
description = "Library to create spreadsheet files compatible with MS";
homepage = "https://github.com/python-excel/xlwt";
license = with licenses; [
license = with lib.licenses; [
bsdOriginal
bsd3
lgpl21Plus
];
maintainers = with maintainers; [ ];
maintainers = with lib.maintainers; [ pyrox0 ];
};
}

0 comments on commit 9c62847

Please sign in to comment.