mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
21 lines
503 B
Nix
21 lines
503 B
Nix
{ stdenv, fetchFromGitHub, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "openbsm";
|
|
name = "${pname}-${version}";
|
|
version = "1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "${lib.toUpper (builtins.replaceStrings ["." "-"] ["_" "_"] name)}";
|
|
sha256 = "0b98359hd8mm585sh145ss828pg2y8vgz38lqrb7nypapiyqdnd1";
|
|
};
|
|
|
|
meta = {
|
|
homepage = http://www.openbsm.org/;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ matthewbauer ];
|
|
};
|
|
}
|