2018-04-11 17:02:06 +01:00
|
|
|
{ buildSetupcfg, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildSetupcfg rec {
|
|
|
|
info = import ./info.nix;
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "target";
|
|
|
|
repo = "setupcfg2nix";
|
|
|
|
rev = info.version;
|
2020-03-31 22:54:12 +01:00
|
|
|
sha256 = "1rj227vxybwp9acwnpwg9np964b1qcw2av3qmx00isnrw5vcps8m";
|
2018-04-11 17:02:06 +01:00
|
|
|
};
|
|
|
|
application = true;
|
|
|
|
meta = {
|
|
|
|
description = "Generate nix expressions from setup.cfg for a python package.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/target/setupcfg2nix";
|
2018-04-11 17:02:06 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
maintainers = [ lib.maintainers.shlevy ];
|
|
|
|
};
|
|
|
|
}
|