mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
python39Packages.unidiff: fetch from PyPI
This commit is contained in:
parent
52c6fc70cb
commit
d74f249f76
1 changed files with 7 additions and 7 deletions
|
@ -1,20 +1,20 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub }:
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unidiff";
|
||||
version = "0.7.0";
|
||||
|
||||
# PyPI tarball doesn't ship tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "matiasb";
|
||||
repo = "python-unidiff";
|
||||
rev = "v${version}";
|
||||
sha256 = "1s1l327jqm0r35pn9c83pbw15k66x8klw1lf45xqp8lrdc15cqv5";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "91bb13b4969514a400679d9ae5e29a6ffad85346087677f8b5e2e036af817447";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "unidiff" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unified diff python parsing/metadata extraction library";
|
||||
homepage = "https://github.com/matiasb/python-unidiff";
|
||||
changelog = "https://github.com/matiasb/python-unidiff/raw/v${version}/HISTORY";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue