My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/unify/default.nix

30 lines
715 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, untokenize
, unittestCheckHook
}:
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 ];
checkInputs = [ unittestCheckHook ];
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 ];
};
}