summary refs log tree commit diff
path: root/pkgs/development/tools/setupcfg2nix/default.nix
blob: 5d1f015e805254f92af2dbab2016bdf881394a31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 ];
  };
}