summary refs log tree commit diff
path: root/pkgs/tools/filesystems/nixpart/default.nix
blob: 80ae8ca2b3cd40910d9281f8ac6091c2ad456ffc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, fetchurl, buildPythonApplication, blivet }:

buildPythonApplication rec {
  pname = "nixpart";
  version = "1.0.0";

  src = fetchurl {
    url = "https://github.com/aszlig/nixpart/archive/v${version}.tar.gz";
    sha256 = "0avwd8p47xy9cydlbjxk8pj8q75zyl68gw2w6fnkk78dcb1a3swp";
  };

  propagatedBuildInputs = [ blivet ];

  meta = {
    description = "NixOS storage manager/partitioner";
    license = lib.licenses.gpl2Plus;
    maintainers = [ lib.maintainers.aszlig ];
    platforms = lib.platforms.linux;
  };
}