mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
fdm: modernised syntax
This commit is contained in:
parent
3fa4f4718f
commit
a4e95b70f2
@ -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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user