commit 4ae6e67712946aba70df992cdeafcc03301c6c76
parent c5166769e92fc9b7d004cd917f870d0c182f2007
Author: William Casarin <jb55@jb55.com>
Date: Thu, 5 Aug 2021 19:39:22 -0700
fix nix
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/default.nix b/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, gmp, bison, flex }:
+{ stdenv, gmp, bison, lib, flex }:
stdenv.mkDerivation rec {
- name = "ratio-${version}";
+ pname = "ratio";
version = "0.1";
src = ./.;
@@ -11,9 +11,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ bison flex ];
buildInputs = [ gmp ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "ratio calculator";
- homepage = "https://github.com/jb55/ratio";
+ homepage = "http://git.jb55.com/ratio";
maintainers = with maintainers; [ jb55 ];
license = licenses.gpl3Only;
};