mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
nimPackages.freedesktop_org: init at 20230201
This commit is contained in:
parent
e37460448f
commit
617e2b27e2
32
pkgs/development/nim-packages/freedesktop_org/default.nix
Normal file
32
pkgs/development/nim-packages/freedesktop_org/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib, buildNimPackage, fetchFromSourcehut, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
# freedesktop_org requires a fork of configparser
|
||||
configparser = buildNimPackage rec {
|
||||
pname = "configparser";
|
||||
version = "20230120";
|
||||
src = fetchFromGitHub {
|
||||
repo = "nim-" + pname;
|
||||
owner = "ehmry";
|
||||
rev = "695f1285d63f1954c25eb1f42798d90fa7bcbe14";
|
||||
hash = "sha256-Z2Qr14pv2RHzQNfEYIKuXKHfHvvIfaEiGCHHCWJZFyw=";
|
||||
};
|
||||
doCheck = true;
|
||||
};
|
||||
in buildNimPackage rec {
|
||||
pname = "freedesktop_org";
|
||||
version = "20230201";
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~ehmry";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-gEN8kiWYCfC9H7o4UE8Xza5s7OwU3TFno6XnIlEm9Dg=";
|
||||
};
|
||||
propagatedBuildInputs = [ configparser ];
|
||||
doCheck = true;
|
||||
meta = src.meta // {
|
||||
description = "Some Nim procedures for looking up freedesktop.org data";
|
||||
license = lib.licenses.unlicense;
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
};
|
||||
}
|
@ -36,6 +36,8 @@ lib.makeScope newScope (self:
|
||||
|
||||
flatty = callPackage ../development/nim-packages/flatty { };
|
||||
|
||||
freedesktop_org = callPackage ../development/nim-packages/freedesktop_org { };
|
||||
|
||||
frosty = callPackage ../development/nim-packages/frosty { };
|
||||
|
||||
getdns = callPackage ../development/nim-packages/getdns {
|
||||
|
Loading…
Reference in New Issue
Block a user