b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
30 lines
715 B
Nix
30 lines
715 B
Nix
{ 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 ];
|
|
};
|
|
}
|