python3Packages.unify: init at 0.5
This commit is contained in:
parent
ff06494b48
commit
3ff8a6406e
30
pkgs/development/python-modules/unify/default.nix
Normal file
30
pkgs/development/python-modules/unify/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, untokenize
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "unify";
|
||||||
|
version = "0.5";
|
||||||
|
|
||||||
|
# PyPi release is missing tests (see https://github.com/myint/unify/pull/18)
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "myint";
|
||||||
|
repo = "unify";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1l6xxygaigacsxf0g5f7w5gpqha1ava6mcns81kqqy6vw91pyrbi";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ untokenize ];
|
||||||
|
|
||||||
|
checkPhase = "${python.interpreter} -m unittest discover";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Modifies strings to all use the same quote where possible";
|
||||||
|
homepage = "https://github.com/myint/unify";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ FlorianFranzen ];
|
||||||
|
};
|
||||||
|
}
|
@ -8733,6 +8733,8 @@ in {
|
|||||||
|
|
||||||
unifi = callPackage ../development/python-modules/unifi { };
|
unifi = callPackage ../development/python-modules/unifi { };
|
||||||
|
|
||||||
|
unify = callPackage ../development/python-modules/unify { };
|
||||||
|
|
||||||
unifiled = callPackage ../development/python-modules/unifiled { };
|
unifiled = callPackage ../development/python-modules/unifiled { };
|
||||||
|
|
||||||
units = callPackage ../development/python-modules/units { };
|
units = callPackage ../development/python-modules/units { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user