2022-10-21 18:38:19 +00:00
|
|
|
{ mkDerivation, base, containers, emojis, fetchgit, 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";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.1.1";
|
2022-10-21 18:38:19 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/gvolpe/dconf2nix.git";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "0frqnq7ryr4gvkbb67n0615d9h1blps2kp55ic05n7wxyh26adgz";
|
|
|
|
rev = "2fc3b0dfbbce9f1ea2ee89f3689a7cb95b33b63f";
|
2022-10-21 18:38:19 +00:00
|
|
|
fetchSubmodules = true;
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
2022-10-21 18:38:19 +00:00
|
|
|
base containers emojis optparse-applicative parsec text
|
2020-08-20 17:08:02 +00:00
|
|
|
];
|
|
|
|
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;
|
2022-10-21 18:38:19 +00:00
|
|
|
mainProgram = "dconf2nix";
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|