2022-03-30 09:31:56 +00:00
|
|
|
{ mkDerivation, base, containers, fetchFromGitHub, hedgehog, lib
|
2021-06-01 10:57:12 +00:00
|
|
|
, optparse-applicative, parsec, template-haskell, text
|
2020-08-20 17:08:02 +00:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "dconf2nix";
|
2022-01-22 01:22:15 +00:00
|
|
|
version = "0.0.11";
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gvolpe";
|
|
|
|
repo = "dconf2nix";
|
2022-01-22 01:22:15 +00:00
|
|
|
rev = "fe7e3d973caa87b1b706096aff3d670f65e39fda";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-zuhiFVA8LvFKOPMMvqFu+ofv0CrIl2pMZbPQE/tCaM8=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
|
|
|
base containers optparse-applicative parsec text
|
|
|
|
];
|
|
|
|
executableHaskellDepends = [ base ];
|
2020-09-25 04:45:31 +00:00
|
|
|
testHaskellDepends = [
|
|
|
|
base containers hedgehog parsec template-haskell text
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
description = "Convert dconf files to Nix, as expected by Home Manager";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.asl20;
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|