fdm: modernised syntax

This commit is contained in:
Pontus Stenetorp 2020-12-30 13:16:42 +00:00
parent 3fa4f4718f
commit a4e95b70f2
No known key found for this signature in database
GPG Key ID: D430287500E6483C

View File

@ -1,19 +1,13 @@
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, tdb, zlib, flex, bison }:
let
baseName = "fdm";
stdenv.mkDerivation rec {
pname = "fdm";
version = "2.0";
in
stdenv.mkDerivation {
name = "${baseName}-${version}";
src = fetchFromGitHub {
owner = "nicm";
repo = baseName;
rev = "370b04f165b0bb2989be378bb7e66b14f042d3f9";
repo = pname;
rev = version;
sha256 = "0j2n271ni5wslgjq1f4zgz1nsvqjf895dxy3ij5c904bbp8ckcwq";
};