diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-03-05 03:20:18 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-03-05 18:15:14 +0100 |
commit | 8cac1707f2167b57a2f8fc66f02693d12837f1c3 (patch) | |
tree | af7b4c981b4a5da0e2b858f3ee255c1a003a4aa1 /pkgs/development/libraries/bootil | |
parent | 62ce8c7309022124da4fbbff9a7bb46ef074ab17 (diff) | |
download | nixpkgs-8cac1707f2167b57a2f8fc66f02693d12837f1c3.tar nixpkgs-8cac1707f2167b57a2f8fc66f02693d12837f1c3.tar.gz nixpkgs-8cac1707f2167b57a2f8fc66f02693d12837f1c3.tar.bz2 nixpkgs-8cac1707f2167b57a2f8fc66f02693d12837f1c3.tar.lz nixpkgs-8cac1707f2167b57a2f8fc66f02693d12837f1c3.tar.xz nixpkgs-8cac1707f2167b57a2f8fc66f02693d12837f1c3.tar.zst nixpkgs-8cac1707f2167b57a2f8fc66f02693d12837f1c3.zip |
bootil: format, switch to pname + version
Diffstat (limited to 'pkgs/development/libraries/bootil')
-rw-r--r-- | pkgs/development/libraries/bootil/default.nix | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/pkgs/development/libraries/bootil/default.nix b/pkgs/development/libraries/bootil/default.nix index f2136296204..20ca175d7b8 100644 --- a/pkgs/development/libraries/bootil/default.nix +++ b/pkgs/development/libraries/bootil/default.nix @@ -1,18 +1,8 @@ { lib, stdenv, fetchFromGitHub, fetchpatch, premake4 }: stdenv.mkDerivation { - name = "bootil-unstable-2015-12-17"; - - meta = { - description = "Garry Newman's personal utility library"; - homepage = "https://github.com/garrynewman/bootil"; - # License unsure - see https://github.com/garrynewman/bootil/issues/21 - license = lib.licenses.free; - maintainers = [ lib.maintainers.abigailbuccaneer ]; - platforms = lib.platforms.all; - # Build uses `-msse` and `-mfpmath=sse` - badPlatforms = [ "aarch64-linux" ]; - }; + pname = "bootil"; + version = "unstable-2015-12-17"; src = fetchFromGitHub { owner = "garrynewman"; @@ -21,11 +11,13 @@ stdenv.mkDerivation { sha256 = "03wq526r80l2px797hd0n5m224a6jibwipcbsvps6l9h740xabzg"; }; - patches = [ (fetchpatch { - url = "https://github.com/garrynewman/bootil/pull/22.patch"; - name = "github-pull-request-22.patch"; - sha256 = "1qf8wkv00pb9w1aa0dl89c8gm4rmzkxfl7hidj4gz0wpy7a24qa2"; - }) ]; + patches = [ + (fetchpatch { + url = "https://github.com/garrynewman/bootil/pull/22.patch"; + name = "github-pull-request-22.patch"; + sha256 = "1qf8wkv00pb9w1aa0dl89c8gm4rmzkxfl7hidj4gz0wpy7a24qa2"; + }) + ]; # Avoid guessing where files end up. Just use current directory. postPatch = '' @@ -42,4 +34,15 @@ stdenv.mkDerivation { install -D libbootil_static.a $out/lib/libbootil_static.a cp -r include $out ''; + + meta = with lib; { + description = "Garry Newman's personal utility library"; + homepage = "https://github.com/garrynewman/bootil"; + # License unsure - see https://github.com/garrynewman/bootil/issues/21 + license = licenses.free; + maintainers = [ maintainers.abigailbuccaneer ]; + platforms = platforms.all; + # Build uses `-msse` and `-mfpmath=sse` + badPlatforms = [ "aarch64-linux" ]; + }; } |