Add setupcfg2nix and supporting infrastructure

This commit is contained in:
Shea Levy
2018-04-11 12:08:26 -04:00
parent 9b8668c79c
commit 0901b3e195
5 changed files with 55 additions and 0 deletions
@@ -0,0 +1,19 @@
{ buildSetupcfg, fetchFromGitHub, lib }:
buildSetupcfg rec {
info = import ./info.nix;
src = fetchFromGitHub {
owner = "target";
repo = "setupcfg2nix";
rev = info.version;
sha256 = "1zn9njpzwhwikrirgjlyz6ys3xr8gq61ry8blmnpscqvhsdhxcs6";
};
application = true;
meta = {
description = "Generate nix expressions from setup.cfg for a python package.";
homepage = https://github.com/target/setupcfg2nix;
license = lib.licenses.mit;
platforms = lib.platforms.all;
maintainers = [ lib.maintainers.shlevy ];
};
}
@@ -0,0 +1,7 @@
{
pname = ''setupcfg2nix'';
version = ''1.1.0'';
install_requires = [
''setuptools''
];
}